package com.example.zce.library.common.bean;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 描述：
 *
 * @author zengyz
 * @date 2018/7/27 0:04
 */
public class ResultTableBean<T> {

    private Integer code;
    private List<T> data;
    private String msg;
    private Long count;

    public ResultTableBean() {
    }

    public ResultTableBean(Integer code, List<T> data, Long count) {
        this.code = code;
        this.data = data;
        this.msg = "数据接口请求异常";
        this.count=count;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }
}
